KnitPay\Gateways\Paypal\Integration S

Total Complexity 28
Dependencies 3
Dependents 0
Total lines 299
Lines of code 195
Logical lines of code 79
Comment lines 55
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
get_oauth_connect_button_fields()
A
39 5 75
save_token()
S
58 5 14
save_post()
S
68 3 7
get_oauth_connection_status_fields()
S
52 1 28
get_child_config()
S
60 2 13
get_gateway()
S
62 2 12
add_paypal_partner_id()
S
69 2 6
gateway_configuration_display_value()
S
75 2 4
get_oauth_token_request_body()
S
74 2 4
__construct()
S
61 1 13
setup()
S
66 1 9
clear_child_config()
S
68 1 7
is_oauth_connected()
S
80 1 3